package tests;

import helpers.FinCalc;

public class FinCalcTest {
	
	public FinCalcTest () {
		// http://en.wikipedia.org/wiki/Time_value_of_money#Future_value_of_a_growing_annuity
		System.out.println("99999 = "+FinCalc.calculateAnuity(4099500, 0.07, 20));
		System.out.println("4099500? = "+FinCalc.calculateAnuity(4099500, 0.07, 20));
		//System.out.println("4099549? = "+FinCalc.calculateFutureValue(1000, 0.07, 20));
		System.out.println("0,02344829 = "+FinCalc.simpleToCompoundingInterestRate(0.0232, 1, 12));
			
	}
	
}